package com.entity;

import java.io.Serializable;

/**
 * closeoffice
 * @author 
 */
public class Closeoffice implements Serializable {
    private Integer closeofficeid;

    private String closeoffice;

    private static final long serialVersionUID = 1L;

    public Integer getCloseofficeid() {
        return closeofficeid;
    }

    public void setCloseofficeid(Integer closeofficeid) {
        this.closeofficeid = closeofficeid;
    }

    public String getCloseoffice() {
        return closeoffice;
    }

    public void setCloseoffice(String closeoffice) {
        this.closeoffice = closeoffice;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Closeoffice other = (Closeoffice) that;
        return (this.getCloseofficeid() == null ? other.getCloseofficeid() == null : this.getCloseofficeid().equals(other.getCloseofficeid()))
            && (this.getCloseoffice() == null ? other.getCloseoffice() == null : this.getCloseoffice().equals(other.getCloseoffice()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCloseofficeid() == null) ? 0 : getCloseofficeid().hashCode());
        result = prime * result + ((getCloseoffice() == null) ? 0 : getCloseoffice().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", closeofficeid=").append(closeofficeid);
        sb.append(", closeoffice=").append(closeoffice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}